package com.ooho.messageboard.dao;

import java.util.List;

/**
 * Created by hugohoo on 10/15/16.
 */
public interface GenericDAO<T, K> {

    public List<T> find();
    public T find(K id);
    public T insert(T value);
    public int update(T value);
    public int delete(T value);
}
